Optimal. Leaf size=84 \[ \frac{\log (d+e x) \left (3 c d^2-e (2 b d-a e)\right )}{e^4}+\frac{d \left (a e^2-b d e+c d^2\right )}{e^4 (d+e x)}-\frac{x (2 c d-b e)}{e^3}+\frac{c x^2}{2 e^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.192171, antiderivative size = 84, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.053 \[ \frac{\log (d+e x) \left (3 c d^2-e (2 b d-a e)\right )}{e^4}+\frac{d \left (a e^2-b d e+c d^2\right )}{e^4 (d+e x)}-\frac{x (2 c d-b e)}{e^3}+\frac{c x^2}{2 e^2} \]
Antiderivative was successfully verified.
[In] Int[(x*(a + b*x + c*x^2))/(d + e*x)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{c \int x\, dx}{e^{2}} + \frac{d \left (a e^{2} - b d e + c d^{2}\right )}{e^{4} \left (d + e x\right )} + \left (b e - 2 c d\right ) \int \frac{1}{e^{3}}\, dx + \frac{\left (a e^{2} - 2 b d e + 3 c d^{2}\right ) \log{\left (d + e x \right )}}{e^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x*(c*x**2+b*x+a)/(e*x+d)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.120702, size = 79, normalized size = 0.94 \[ \frac{\frac{2 \left (d e (a e-b d)+c d^3\right )}{d+e x}+2 \log (d+e x) \left (e (a e-2 b d)+3 c d^2\right )+2 e x (b e-2 c d)+c e^2 x^2}{2 e^4} \]
Antiderivative was successfully verified.
[In] Integrate[(x*(a + b*x + c*x^2))/(d + e*x)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.01, size = 108, normalized size = 1.3 \[{\frac{c{x}^{2}}{2\,{e}^{2}}}+{\frac{bx}{{e}^{2}}}-2\,{\frac{cdx}{{e}^{3}}}+{\frac{\ln \left ( ex+d \right ) a}{{e}^{2}}}-2\,{\frac{\ln \left ( ex+d \right ) bd}{{e}^{3}}}+3\,{\frac{\ln \left ( ex+d \right ) c{d}^{2}}{{e}^{4}}}+{\frac{da}{{e}^{2} \left ( ex+d \right ) }}-{\frac{{d}^{2}b}{{e}^{3} \left ( ex+d \right ) }}+{\frac{{d}^{3}c}{{e}^{4} \left ( ex+d \right ) }} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x*(c*x^2+b*x+a)/(e*x+d)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.690966, size = 115, normalized size = 1.37 \[ \frac{c d^{3} - b d^{2} e + a d e^{2}}{e^{5} x + d e^{4}} + \frac{c e x^{2} - 2 \,{\left (2 \, c d - b e\right )} x}{2 \, e^{3}} + \frac{{\left (3 \, c d^{2} - 2 \, b d e + a e^{2}\right )} \log \left (e x + d\right )}{e^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)*x/(e*x + d)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.261178, size = 177, normalized size = 2.11 \[ \frac{c e^{3} x^{3} + 2 \, c d^{3} - 2 \, b d^{2} e + 2 \, a d e^{2} -{\left (3 \, c d e^{2} - 2 \, b e^{3}\right )} x^{2} - 2 \,{\left (2 \, c d^{2} e - b d e^{2}\right )} x + 2 \,{\left (3 \, c d^{3} - 2 \, b d^{2} e + a d e^{2} +{\left (3 \, c d^{2} e - 2 \, b d e^{2} + a e^{3}\right )} x\right )} \log \left (e x + d\right )}{2 \,{\left (e^{5} x + d e^{4}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)*x/(e*x + d)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 2.47807, size = 80, normalized size = 0.95 \[ \frac{c x^{2}}{2 e^{2}} + \frac{a d e^{2} - b d^{2} e + c d^{3}}{d e^{4} + e^{5} x} + \frac{x \left (b e - 2 c d\right )}{e^{3}} + \frac{\left (a e^{2} - 2 b d e + 3 c d^{2}\right ) \log{\left (d + e x \right )}}{e^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x*(c*x**2+b*x+a)/(e*x+d)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.26262, size = 177, normalized size = 2.11 \[ \frac{1}{2} \,{\left ({\left (x e + d\right )}^{2}{\left (c - \frac{2 \,{\left (3 \, c d e - b e^{2}\right )} e^{\left (-1\right )}}{x e + d}\right )} e^{\left (-3\right )} - 2 \,{\left (3 \, c d^{2} - 2 \, b d e + a e^{2}\right )} e^{\left (-3\right )}{\rm ln}\left (\frac{{\left | x e + d \right |} e^{\left (-1\right )}}{{\left (x e + d\right )}^{2}}\right ) + 2 \,{\left (\frac{c d^{3} e^{2}}{x e + d} - \frac{b d^{2} e^{3}}{x e + d} + \frac{a d e^{4}}{x e + d}\right )} e^{\left (-5\right )}\right )} e^{\left (-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)*x/(e*x + d)^2,x, algorithm="giac")
[Out]